<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">

  <process id="process" isExecutable="true">

    <startEvent id="theStart" />

    <sequenceFlow sourceRef="theStart" targetRef="gtw1" />

    <parallelGateway id="gtw1" />

    <sequenceFlow sourceRef="gtw1" targetRef="task1" />
    <userTask id="task1" />
    <sequenceFlow sourceRef="task1" targetRef="gtw2" />

    <sequenceFlow sourceRef="gtw1" targetRef="task2" />
    <userTask id="task2" />
    <sequenceFlow sourceRef="task2" targetRef="gtw2" />

    <parallelGateway id="gtw2" />
    <sequenceFlow sourceRef="gtw2" targetRef="task" />
    <userTask id="task" />
    <sequenceFlow sourceRef="task" targetRef="theEnd1" />
    <endEvent id="theEnd1" />

    <sequenceFlow sourceRef="gtw1" targetRef="task3" />
    <userTask id="task3" />
    <sequenceFlow sourceRef="task3" targetRef="theEnd2" />
    <endEvent id="theEnd2" />

  </process>

</definitions>